<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/vue/2.6.9/vue.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
</head>
<body>
    <div id="app">
        <button-counter></button-counter>
    </div>
    <script>
       const app = Vue.createApp({})
       app.component('button-counter',{
           template:`
           <div>你好<div/>
           `
       })
        new Vue({
            el:"#app",
            data:{
                
            },
            methods:{
                
            }
        })
    </script>
</body>
</html>